<tagLib name="fanwe" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Static/Js/dataList.js"></script>
<div class="handle-btns">
	<fanwe:imageBtn id="editShare" name="editShare" value="{%EDIT}" click="editData(this,'checkList','share_id')" />
	<fanwe:imageBtn id="removeShare" name="removeShare" value="{%REMOVE}" click="removeData(this,'checkList')" />
</div>
<div class="search-box">
    <form action="__APP__">
		<span>{%SHARE_CONTENT}</span>
		<input class="textinput" type="text" value="{$keyword}" name="keyword" size="12" />
		<small></small>
		<span>{%USER_NAME}</span>
		<input class="textinput" type="text" value="{$uname}" name="uname" id="user_name" size="8" />
		<small></small>
		<input class="submit_btn" type="submit" value="{%SEARCH}" />
		<input type="hidden" name="{:c('VAR_MODULE')}" value="{$module_name}" />
		<input type="hidden" name="{:c('VAR_ACTION')}" value="dapei" />
	</form>
</div>
<fanwe:list 
	id="checkList" 
	style="list" 
	name="share" 
	pk="share_id" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	show="share_id:{%ID}|50,content:{%SHARE_CONTENT}|~left,user_name:{%USER_NAME}|100,create_time|toDate:{%CREATE_TIME}|100,collect_count:{%COLLECT_COUNT}|30,relay_count:{%RELAY_COUNT}|30,comment_count|getCommentCount=$share['share_id']:{%COMMENT_COUNT}|90,is_best|getStatusImg:{%IS_BEST}|60:toggleStatus|share_id" 
	actionlist="editData:{%EDIT}:share_id,removeData:{%REMOVE}:share_id" action_width="80" />
<div class="pager">{$page}</div>
<include file="Public:footer" />